package cn.yuxiaoyuan.article.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class ArticleTypeVo {
    private Long value;
    private String label;
    private Long parentId;
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private List<ArticleTypeVo> children = new ArrayList<>();
}


